<template>
  <div id="app">
    <Count :num="2" />
    <hr />
    <Person :person='person'/>
  </div>
</template>

<script>
import Count from "./components/MyCount";
import Person from "./components/Person";

export default {
  name: "App",
  data() {
    return{
      person: [
      {id:"001", name: "wangzhongwang", age: 19 },
      {id:"002", name: "wang", age: 21 },
      {id:"003", name: "zhong", age: 18 },
    ]
    }
  },
  components: {
    Count,
    Person,
  },
};
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
